package com.epfresh.bean;

import java.util.ArrayList;

public class HomeComm
{
/*fineList 预售和精品暂用一个借口
 "id" : "26",
        "title" : "苹果2",
        "source" : "无",
        "grade" : "一级",
        "price" : "6.0",
        "packageSize" : "30公斤/箱",
        "url" : "http://7xp3p0.com1.z0.glb.clouddn.com/2015%2F11%2F31%2F1451539256314_QQ%E5%9B%BE%E7%89%8720151231130459.jpg?imageView2/1/w/280/h/280",
        "imgTag" : "http://7xp3p0.com1.z0.glb.clouddn.com/2015%2F11%2F28%2F4f44c2264271445ba927caee929f6b03.jpg?imageView2/1/w/50/h/50",
        "tags" : [ {
          "txt" : "绿色",
          "color" : "#ff0000"
        }, {
          "txt" : "特价",
          "color" : "#ff0000"
* */
	private String id;
	private String title;
	private String source;
	private String grade;
	private String price;
	private String packageSize;
	private String url;
	private String imgTag;
	private ArrayList<HomeCommTag> tags;

	public HomeComm()
	{
	}

	public HomeComm(String id, String title, String source, String grade, String price, String packageSize, String url, String imgTag, ArrayList<HomeCommTag> tags) {
		this.id = id;
		this.title = title;
		this.source = source;
		this.grade = grade;
		this.price = price;
		this.packageSize = packageSize;
		this.url = url;
		this.imgTag = imgTag;
		this.tags = tags;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getPackageSize() {
		return packageSize;
	}

	public void setPackageSize(String packageSize) {
		this.packageSize = packageSize;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getImgTag() {
		return imgTag;
	}

	public void setImgTag(String imgTag) {
		this.imgTag = imgTag;
	}

	public ArrayList<HomeCommTag> getTags() {
		return tags;
	}

	public void setTags(ArrayList<HomeCommTag> tags) {
		this.tags = tags;
	}
}
